const Koa=require('koa');

const middleware = require('./middlewares');

const  app=new Koa();  // app实例

middleware(app);  // middlewrae 函数 app 

app.listen(3200,()=>{
    console.log('服务启动');
})